<include file="Public:header" />

<div class="outside users">
    <div class="inner">

        <!-- 右边侧栏 -->
        <include file="Public:sidenav" />

        <!-- 修改密码 -->
        <div class="user_inner">

            <div class="page_title icons_set">修改密码</div>

            <div class="tips">

                <p> <strong>操作提示：</strong>
                </p>
                <p>请正确输入下方圆形验证码，如看不清可点击图片进行更换，输入完成后进入下一步操作。</p>

            </div>
            <form id="form3" name="form3" method="post" action="__URL__user_pass" class="form-validate">
              <input type="hidden" name="id" value="{$user_id}" />
                <table width="100%" >
                    <tr>
                        <td width="45%" align="right">
                            <font class="red">*</font>
                            请输入手机号码：
                        </td>
                        <td>
                            <input class="form-control required" type="text" name="mobile" />
                        </td>
                    </tr>
                   
                    <tr>
                        <td width="45%" align="right">
                            <font class="red">*</font>
                            请输入原密码：
                        </td>
                        <td>
                            <input class="form-control required" type="password" name="old-password" />
                        </td>
                    </tr>
                    <tr>
                        <td width="45%" align="right">
                            <font class="red">*</font>
                            请输入新密码：
                        </td>
                        <td>
                            <input id="password_a" class="form-control required" type="password" name="password" />
                        </td>
                    </tr>
                    <tr>
                        <td width="45%" align="right">
                            <font class="red">*</font>
                            请再次输入新密码：
                        </td>
                        <td>
                            <input id="password_b" class="form-control required" type="password" name="confirm" />
                        </td>
                    </tr>
                    <tr>
                        <td width="45%" align="right">
                            请输入图形验证码：
                        </td>
                        <td>
                           <input class="code" type="text" name="code"  /> <span><img style="cursor: pointer;margin-bottom:-11px;margin-left:10px;" src="__URL__verify"  alt="验证码" title="看不清？点击更换" onclick="javascript:this.src='__URL__verify?tm='+Math.random();" alt="验证码" /></span>
                        </td>
                    </tr>
                </table>
                <p align="center">
                    <input type="submit" class="submit" name="Submit3" value="确认修改" />
                </p>
            </form>
        </div>
        <!-- /修改密码 --> </div>
</div>
<script src="/Public/js/jquery.validate.min.js"></script>
<script language="javascript">
    jQuery.extend(jQuery.validator.messages, {
        required: "必选字段",
        remote: "请修正该字段",
        email: "请输入正确格式的电子邮件",
        url: "请输入合法的网址",
        date: "请输入合法的日期",
        dateISO: "请输入合法的日期 (ISO).",
        number: "请输入合法的数字",
        digits: "只能输入整数",
        creditcard: "请输入合法的信用卡号",
        equalTo: "请再次输入相同的值",
        accept: "请输入拥有合法后缀名的字符串",
        maxlength: jQuery.validator.format("请输入一个 长度最多是 {0} 的字符串"),
        minlength: jQuery.validator.format("请输入一个 长度最少是 {0} 的字符串"),
        rangelength: jQuery.validator.format("请输入 一个长度介于 {0} 和 {1} 之间的字符串"),
        range: jQuery.validator.format("请输入一个介于 {0} 和 {1} 之间的值"),
        max: jQuery.validator.format("请输入一个最大为{0} 的值"),
        min: jQuery.validator.format("请输入一个最小为{0} 的值")
    });
    $(".form-validate").validate({
        errorPlacement: function(error, element)
        {
            error.insertAfter(element);
        }
    });
</script>

<include file="Public:footer" />
